import React from 'react';
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import { hashHistory } from 'react-router'
import Home from './containers/Home/index.jsx'
import registerServiceWorker from './registerServiceWorker';
import RouteMap from './router/routeMap'
import configureStore from './store/configureStore'


// import './common.less'
import './static/css/common.less'
import './static/fonts/iconfont.css'


// 创建 Redux 的 store 对象
const store = configureStore()
//入口文件
render(
		<Provider store={store}>
			<RouteMap history={hashHistory}/>
		</Provider>,
		document.getElementById('root')
	);
registerServiceWorker();
